#include "level.h"
#include <cstdio>
Level::Level()
{
    clear_leavel();
}
bool Level::judge_produceMonster(int curAns,float Gametime)
{
    if(getHead(curAns)!=NULL&&getHead(curAns)->time<=Gametime)
        return true;
    return false;
}
Level::~Level()
{}
void Level::clear_leavel()
{
    for(int i=0;i<15;i++){
        head[i] = NULL;
        sum[i] = 0;
    }
}
